package util;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.UIManager;
import javax.swing.border.Border;

public final class Constantes {

	public static final String MENU[] = {"Aluno", "Disciplina", "Turma", "Matricula", "Assentamento"};

	public static final String SUBMENU[][] = {
		{"Adicionar", "Remover", "Editar", "Consultar"} ,
		{"Adicionar", "Remover", "Editar", "Consultar"} ,
		{"Adicionar", "Remover", "Editar", "Consultar"} , 
		{"Adicionar Matricula"},
		{"Consultar Assentamento"}};

	public static final String ICONBUTTONS[] = 
	{"/books.png", "/school.png", "/student.png", "/paperpencil.png"};

	public static final int ALUNO = 0;
	public static final int ALUNO_ADICIONAR = 0;
	public static final int ALUNO_REMOVER = 1;
	public static final int ALUNO_EDITAR = 2;
	public static final int ALUNO_CONSULTAR = 3;

	public static final int DISCIPLINA = 1;
	public static final int DISCIPLINA_ADICIONAR = 0;
	public static final int DISCIPLINA_REMOVER = 1;
	public static final int DISCIPLINA_EDITAR = 2;
	public static final int DISCIPLINA_CONSULTAR = 3;

	public static final int TURMA = 2;
	public static final int TURMA_ADICIONAR = 0;
	public static final int TURMA_REMOVER = 1;
	public static final int TURMA_EDITAR = 2;
	public static final int TURMA_CONSULTAR = 3;

	public static final int MATRICULA = 3;
	public static final int MATRICULA_ADICIONAR = 0;
	
	public static final int ASSENTAMENTO = 4;
	public static final int CONSULTAR_ASSENTAMENTO = 0;
	
	public static final int ARQUIVO = 5;
	public static final int SAIR = 1;

	public static final Color ERRO = new Color(255, 190, 180);
	public static final Color OK = new Color(255, 255, 255);
	public static final Color BACKGROUNDCOLOR = (Color) UIManager.get("Button.background");
	public static final Color BACKGROUNDCOLOR_PADRAO_JTEXTFIELD = (Color) UIManager.get("TextField.background");
	public static final Border BORDA_PADRAO = (Border)UIManager.get("TextField.border");
	
	public static final Dimension TAMANHO_MENU_BOTAO = new Dimension(175,30);
	public static final Dimension TAMANHO_BOTAO = new Dimension(160,30);
	
	public static final Dimension TAMANHO_JANELA_FILHA = new Dimension(390, 300);
	public static final Dimension TAMANHO_FRAME_PRINCIPAL = new Dimension(800, 600);
	
	public static final int POSICAO_X = 200;
	public static final int POSICAO_Y = 89;
}

